﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExperimentUpon.Service.Exception
{
    public class BaseException : SystemException
    {
        protected string key;

        public string Key { get { return key; } }

        public BaseException(string msg, System.Exception e) : base(msg, e)
        { }

        public BaseException(string key)
        {
            this.key = key;
        }   
    }
}
